<?php

	/**
    * @framework : My Framework
    *
    * @author: fatangel26@gmail.com
    *
    */

	class layout_controller extends my_controller
	{
		public function __construct()
        {
            parent::__construct();

        }

        public function index()
        {
            $this->_data['title'] 	  = 'Jewel | Trang chủ';

            $this->_data['head_name'] = 'Sản phẩm mới';

			$this->_model 			  = new model_product();

			$data['products'] 		  = $this->_model->getProduct();

			$this->_helper 			  = new helper_text();

            $this->_data['content']   = $this->view("includes/default", $data, TRUE);

         	$this->view("layout",$this->_data);
        }//End function index()

	}


    /*End of layout.php*/
    /*Location: my_framework/controllers/layout.php */